Skip to main content

All Questions

0votes
2answers
24views

create unique folder on startup with rpi cam

I have a pi cam on a pi zero that needs to run for the whole duration of being on. this pi camera module is being used in stratospheric launch and during our last one we were able to get videos back, ...
purfi's user avatar
0votes
1answer
45views

Looking for slideshow utility with custom/configurable randomisation

I'm looking for a way to provide custom/configurable randomisation to a slideshow tool like impressive or feh (something lightweight I can run automatically at startup). Basically I need to weight ...
fjdksflds's user avatar
0votes
0answers
44views

How to delay/pause/sleep on boot screen?

I'm using raspberry pi5 with debian bookworm. I created a bash script and execute it on bootscreen. The script has 100 seconds delay in it but no effect in boot screen. The OS starts like there were ...
cagri cihanoglu's user avatar
2votes
4answers
1kviews

How to POSIX-ly ignore "warning: command substitution: ignored null byte in input"?

Today, I was working with my Raspberry Pi 4 with Debian 12 Bookworm, and I found it odd, that some system text files, namely I needed these two: /sys/firmware/devicetree/base/model /sys/firmware/...
Vlastimil Burián's user avatar
0votes
2answers
143views

Script to execute a task when certain TCP traffic appears (Raspberry Pi OS Bookworm)

I am using a Raspberry Pi as a Wifi bridge in my kitchen at home to bring network connectivity to a device that only has ethernet. I used a Will Haley guide and it works great. That part is solved ...
Naylor's user avatar
6votes
2answers
722views

Exiting a script when unplugging network

I'm trying to use a Raspberry Pi to log data from a sensor via eth0. When I run my code (and about 100 variations on the sigterms, kills, exits, etc.) the collection doesn't die after unplugging, and ...
eybik_yid's user avatar
0votes
0answers
51views

Is this a legitimate ping test?

I've been trying to troubleshoot an occasional, but persistent, loss of connectivity and concocted this ping test. It saves the date of the failure to a file: #!/bin/bash if ! ping -c 1 google.com &...
AngryHacker's user avatar
1vote
2answers
806views

How to start a screen with crontab

sudo Crontab -e 15 0 * * 1-5 /usr/bin/screen -S wake_up -d -m /home/pi/auto/wake_up.py But at 00:15 there is no screen started... This command: (worked in terminal) screen -S wake_up -d -m /home/pi/...
JOC0N's user avatar
0votes
1answer
63views

How can I run a Program, and have it continue when the remote console disconnects

I want to run my Java Program, but it needs to continue running even if i close Putty. The Program is running on my Raspberry pi and it is starting completely fine, but as soon as I close the console ...
Pantastix's user avatar
1vote
1answer
91views

Cant run java Programm on startup (Raspbian)

I have 2 Java programs (.jar) on my raspberry pi and they should be executed on startup. I accomplished this by writing a sh script, that executes the both programs (started from console both are ...
Pantastix's user avatar
-1votes
1answer
1kviews

How to create filenames with incremental numeric suffix

I'm writing a shell script that automatically starts two scripts in order to record data for a research project I'm working on, and then when they are ended, it automatically creates a directory for ...
Caleb Schreier's user avatar
0votes
1answer
1kviews

Full Bash script on creating txt file, directory, copy file, display info

Im still very new to codeing and Im still learning the basics and would love some help with explanation to learn what to do. Im stuck on this matter atm: Bash script to create a file with text inside ...
Duesmile's user avatar
1vote
2answers
347views

Shell script on Raspberry Pi fails to copy files from usb0 to directory

I am trying to write a shell script to copy specific files from an archive USB thumb drive to my Rasberry Pi 4b. The script is, in my opinion, brain dead simple. cp /media/usb0/archive/file1.zip /home/...
amber's user avatar
1vote
1answer
714views

I am trying to execute a script that pushes to git every x minutes as a service, but git uses 100% CPU and high amounts of RAM

I am trying to execute a script that pushes to git every x minutes as a service, but git uses 100% CPU and high amounts of RAM while seemingly doing nothing. (I checked after 8 minutes and it was ...
Erik Bugdol's user avatar
0votes
2answers
4kviews

Write to linux serial port from bash script

Hi I am using a raspberry pi and trying to write to a usb serial port in a bash script. I found echo would be the right way to do it. Also I want to test if the port is busy or not when writing. So I ...
Ramin's user avatar

153050per page
close